<!DOCTYPE html>
<html lang="zh">

<head>
  <meta charset="utf-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">

  <meta name="apple-mobile-web-app-capable" content="yes">
  <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=0">
  <meta name="description" content="初音未来版本的通过点击/触摸播放声音并出现变化图案的互动内容。">
  <title>Mikutap</title>
  <link rel="apple-touch-icon" href="icon.png">
  <link charset="UTF-8" href="shared/sp/css/common.css" rel="stylesheet">
  <link charset="utf-8" href="css/mikutap.css" rel="stylesheet">
 
  <script charset="utf-8" src="https://cdn.bootcdn.net/ajax/libs/pixi.js/3.0.11/pixi.min.js" type="text/javascript"></script>
 <script type="text/javascript" src="https://cdn.bootcdn.net/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
  <script charset="utf-8" src="js/TweenMax.min.js" type="text/javascript"></script>
  <script charset="UTF-8" src="shared/js/common-2.min.js" type="text/javascript"></script>
  <script charset="utf-8" src="js/mikutap.min.js" type="text/javascript"></script>
</head>

<body>
  <div id="view"></div>
  <div id="scene_top">
    <h1>Mikutap</h1>
    <div id="ng">
      <p class="atten">十分抱歉<br>您的浏览器并不支持本页面需要的特性</p>
    </div>
    <div class="ok">
      <p id="bt_start"><a href="" style="font-size: 36px;">!开始!</a></p>
    </div>
    <p id="bt_about"><a href="" style="font-size: 24px;" onclick="check();">*关于*</a></p>
    <div class="ok">
      <p class="attention">※请打开声音并享受。</p>
    </div>
  </div>
  <div id="scene_loading">
    <hr size="1" color="#fff"> </div>
 <div id="scene_main">
    <div class="set">
      <p class="attention">点击 &amp; 拖动或者按任意键!</p>
	  <p id="bt_backtrack"><a href="" style="font-size:14px ;">BACKTRACK: OFF</a></p>
    </div>
  </div>
  <div id="about_cover"></div>
 <div id="about">
   <div id="about_in" style="align-items: center;">
     <p class="close"><span id="bt_close">×</span></p>
 	  
 	  <br>
 	  
 	  <div id="part1" style="font-size:24px ;"  onclick="opcl(1);">详细信息</div>
 		<div id="part2" style="display: none;" onclick="opcl(2);">
 			<p > 声音来源 Hatsune Miku </p>
 			<p > 作者 daniwell </p>
 			<p > 灵感来源 Patatap</p>
 			<p class="tit"><strong>注意！搬运内容，原页面:https://aidn.jp/mikutap</strong></p><br>
 		</div>
 	  
 	  <hr style="height: 2px;color: #FFFFFF;width: 60%;"><br>
	  <a id="download" style="font-size: 36px;" >下载APP</a><br><br>
 	  <div id="part3" style="font-size:24px ;"  onclick="opcl(3);">关于APP</div>
 	  		<div id="part4" style="display: none;" onclick=opcl(4);></div>
 	  			<script type="text/javascript">
					function check(){
					var url = 'http://xyxywan.gitee.io/mikutap/update.json';
					var xhr=new XMLHttpRequest();
					xhr.open('GET','./update.json');
					xhr.send();
					
					xhr.onreadystatechange=function(){
					     if(xhr.readyState==4)   {
					        if(xhr.status==200){
					            var res=JSON.parse(xhr.responseText);
					            if(res.state=='yes'){
										document.getElementById("part4").innerHTML="最新版本："+res.version+"<br>"+"更新日期："+res.lastdate+"<br>"+"更新内容："+res.content;
										var a01 = document.getElementById("download");
										a01.setAttribute('href',res.url)
					                }
					            }
					        }
					    }   
					} 
 	  			</script>
 	  <hr style="height: 2px;color: #FFFFFF;width: 60%;">
 	  
 
   </div>
 </div>
 <script type="text/javascript">
 	//关于界面按钮
 	function opcl(idnum){
 		if(idnum !==1){
 			document.getElementById("part1").style.display="block";
 			document.getElementById("part2").style.display="none";
 		}else{
 			document.getElementById("part1").style.display="none";
 			document.getElementById("part2").style.display="block";
 		}
 		if(idnum !==3){
 			document.getElementById("part3").style.display="block";
 			document.getElementById("part4").style.display="none";
 		}else{
 			document.getElementById("part3").style.display="none";
 			document.getElementById("part4").style.display="block";
 		}
 	}
 </script>
 
  <div id="bt_back">＜返回</div>
  <div id="bt_fs" style="font-size: 28px;">□全屏</div>
</body>

</html>
